<?php
ini_set('session.save_path', sys_get_temp_dir());

/*
 * This file is part of the sfDoctrinePlugin package.
 * (c) 2006-2007 Jonathan H. Wage <jwage@mac.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * sfDoctrinePlugin Command Line Interface Tasks
 *
 * This file contains all the symfony command line tasks. Some of these tasks are custom to symfony
 * but a majority of them are a wrapper for the already existing Doctrine command line interface.
 *
 * @package    sfDoctrinePlugin
 * @author     Jonathan H. Wage <jwage@mac.com>
 * @version    SVN: $Id: sfPakeDoctrine.php 7915 2008-03-15 22:35:59Z Jonathan.Wage $
 */

pake_desc('Compare db with models');
pake_task('fnde-compare-db', 'project_exists');


/**
 * run_fnde_compare_db
 *
 * @param string $task 
 * @param string $args 
 * @return void
 */
function run_fnde_compare_db($task, $args)
{
	_bootstrap_symfony();
	_call_doctrine_cli('compare-db');
}

